use chrono::NaiveDate;

use crate::base::{exec_sqls, SqlList};

pub (super) async fn indi_asse_proc(date:&NaiveDate) -> anyhow::Result<()> {
    let sl = &SqlList::Path("indi_asse".to_owned());
    let params_names = &["date"];
    let date=date.format("%Y-%m-%d").to_string();
    let params_vals = &[date.as_str()];
    exec_sqls(sl, params_names, params_vals).await?;
    Ok(())
}